package org.utils;

public class TextParser {

	public static String getNumberWithPreZero(int value, int offset){
		String result = new String("00000000000000000000");
		result = result.substring(0, offset);
		String v = Integer.valueOf(value).toString();
//		result = 
		int i = result.length() - v.length();
		if(i > 0){
			result = result.substring(0, i) + v;
		}
		return result;
	}
	
}
